<div id="steps" class="form complex">

<?
	$value = array(
		'id_lisensi'			=> "",
		'nama_lisensi'			=> "",
		'alamat_lisensi'		=> "",
		'cp'		=> "",
		'act_form'			=> "lisensi/lisensi/insert_lisensi/"
	);
	
	if ($status == 'edit')
	{
		$value['id_lisensi'] = $id_lisensi;
		$value['nama_lisensi'] = $nama_lisensi;
		$value['alamat_lisensi'] = $alamat_lisensi;
		$value['cp'] = $cp;
		$value['act_form'] = "lisensi/lisensi/update_lisensi/".$value['id_lisensi'];
	}
?>
<?= form_open($value["act_form"]); ?>

	<form>
		<fieldset class="step">
			<p>
				<label>Nama Lisensi</label>
				<input id="nama" name="nama" type="text" value="<?=$value['nama_lisensi'];?>" tabindex="1" />
			</p>
			<?php echo form_error('nama'); ?>
			<p>
				<label>Alamat Lisensi</label>
                <textarea name="alamat" id="tanggal_mulai" ><?=$value['alamat_lisensi'];?></textarea>
			</p>
			<?php echo form_error('alamat'); ?>
			<p>
				<label>Contact Person</label>
                <textarea name="cp" id="" ><?=$value['cp'];?></textarea>
			</p>
			<?php echo form_error('cp'); ?>
			<p class="submit">
				<button id="registerButton" type="submit">Simpan</button>&nbsp;
				<button id="registerButton" type="reset">Reset</button>&nbsp;
				<button id="registerButton" type="submit">Kembali</button>
			</p>

		</fieldset>
	</form> 
<?php
echo form_close();
?>
</div>